package com.idione.model;

import android.graphics.drawable.Drawable;
import android.util.Log;

import com.idione.util.LogUtil;

public class StructSeeQuestion {

	private int id;
	private String  numberQuestionTitle;
	private String  questionText;
	private Drawable drawable;
	
	public StructSeeQuestion(int id, String numberQuestionTitle, String questionText, Drawable idDrawable) {
		log("StructSeeQuestion(int " + id + 
				", String " + numberQuestionTitle + 
				", String " + questionText + 
				", Drawable " + ((idDrawable == null)? 0:idDrawable.toString()) + ")");
		
		this.id = id;
		this.numberQuestionTitle = numberQuestionTitle;
		this.drawable = idDrawable;
		this.questionText =questionText;
	}

	public String getNumberQuestionTitle() {
		return numberQuestionTitle;
	}

	public Drawable getDrawable() {
		return drawable;
	}

	public String getQuestionText() {
		return questionText;
	}
	
	public int getId() {
		return id;
	}
	
	/*----------------------------------------------------------------------------------*
	 * Log 																				*
	 *----------------------------------------------------------------------------------*/
	private final String LOGTAG = "LogsClass " + this.getClass().getName();
	private void log(String method) {
		if (LogUtil.modelLog)
			Log.i(LOGTAG, "... method : " + this.getClass().getSimpleName() + "." + method);
	}
}
